package ru.iasokolov.demo.model

import java.time.LocalDate
import java.util.UUID

interface DataRecord<Data> {
    fun getId(): UUID
    fun getStartDate(): LocalDate
    fun getEndDate(): LocalDate
    fun isDeleted(): Boolean
    fun getDataType(): String
    fun getData(): Data

    fun copy(): DataRecord<Data>
}